#define _CRT_SECURE_NO_WARNINGS
#include "DLList.h"
int main()
{
    DLNode* phead = DLInit();
    DLInsert(phead, 1);
    DLInsert(DLFind(phead, 1), 2);
    DLInsert(DLFind(phead, 1), 3);
    DLInsert(DLFind(phead, 3), 4);
    DLPrint(phead);//1342
    DLErase(DLFind(phead, 1));
    DLPrint(phead);
    DLErase(DLFind(phead, 4));
    DLPrint(phead);
    DLErase(DLFind(phead, 1));
    DLPrint(phead);
    DLErase(phead);
    DLPrint(phead);
    phead = DLDestroy(phead);
    return 0;
}